package com.wc5818.wcFlow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2020-02-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WcFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单
     */
    private String ordernum;

    /**
     * 流程id
     */
    @TableField("processId")
    private String processId;

    /**
     * 下单人
     */
    @TableField("userId")
    private Integer userId;

    /**
     * 创建时间
     */
    @TableField("creatTime")
    private LocalDateTime creatTime;

    /**
     * 修改时间
     */
    @TableField("upTime")
    private LocalDateTime upTime;

    /**
     * 流程是否结束
     */
    @TableField("isEnd")
    private Integer isEnd;


}
